"{$sentence}"
<ul>
<li>count characters: {$sentence|count_characters}</li>
<li>count characters: {$sentence|count_characters:true} (include spaces)</li>
<li>count words: {$sentence|count_words}</li>
</ul>